<?php 
	defined('IN_ADMIN') or exit('No permission resources.');
?>

<?php
if($info[vid]>0){
?>
<embed src='<?php echo $info['player'];?>' type='application/x-shockwave-flash' allowFullScreen='true' width='433' height='333' allowNetworking='all' wmode='opaque' allowScriptAccess='always'></embed>

<?php
}else{
?>

<object type="application/x-shockwave-flash" data="<?php echo JS_PATH ?>vcastr/vcastr3.swf" width="433" height="333" id="vcastr3">
			<param name="movie" value="<?php echo JS_PATH ?>vcastr/vcastr3.swf"/> 
			<param name="allowFullScreen" value="true" />
			<param name="FlashVars" value="xml=
				{vcastr}
					{channel}
						{item}
							{source}<?php echo $info[video_url] ?>{/source}
							{duration}{/duration}
							{title}{/title}
						{/item}
					{/channel}
					{config}
					{/config}
					{plugIns}
						{logoPlugIn}
							{url}<?php echo JS_PATH ?>vcastr/logoPlugIn.swf{/url}
							{logoText}appcms{/logoText}
							{logoTextAlpha}0.75{/logoTextAlpha}
							{logoTextFontSize}30{/logoTextFontSize}
							{logoTextLink}http://www.appcms.org{/logoTextLink}
							{logoTextColor}0xffffff{/logoTextColor}
							{textMargin}20 20 auto auto{/textMargin}
						{/logoPlugIn}
					{/plugIns}
				{/vcastr}"/>
		</object>
<?php
}
?>